package com.pan.admin.module.crm.entity;

import com.pan.admin.common.annotation.Excel;
import com.pan.admin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 甲方与用户关联对象 loan_jf_user
 *
 * @author ts
 * @date 2023-11-13
 */
public class CrmDistributeLoanUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 用户主键ID
     */
    @Excel(name = "用户主键ID")
    private Integer loanUserId;

    /**
     * 机构主键ID
     */
    @Excel(name = "机构主键ID")
    private Integer loanProductId;

    /**
     * 系统用户主键id
     */
    @Excel(name = "系统用户主键id")
    private Integer userId;

    /**
     * 系统部门主键id
     */
    @Excel(name = "系统部门主键id")
    private Integer deptId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLoanUserId(Integer loanUserId) {
        this.loanUserId = loanUserId;
    }

    public Integer getLoanUserId() {
        return loanUserId;
    }

    public void setLoanProductId(Integer loanProductId) {
        this.loanProductId = loanProductId;
    }

    public Integer getLoanProductId() {
        return loanProductId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("loanUserId", getLoanUserId())
                .append("loanProductId", getLoanProductId())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("createTime", getCreateTime())
                .toString();
    }
}
